﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace BlazorApp派单.dbmodel
{
    ///<summary>
    ///合同主表
    ///</summary>
    [SugarTable("Bus_合同主表")]
    public partial class Bus_合同主表
    {
           public Bus_合同主表(){


           }
           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true)]
           public Guid guid {get;set;}

           /// <summary>
           /// Desc:合同类别
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 合同类型 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 档案编号 {get;set;}

           /// <summary>
           /// Desc:合同编号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 合同编号 {get;set;}

           /// <summary>
           /// Desc:项目名称
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 项目名称 {get;set;}

           /// <summary>
           /// Desc:签订日期
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? 签订日期 {get;set;}

           /// <summary>
           /// Desc:合同甲方编号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 合同甲方编号 {get;set;}

           /// <summary>
           /// Desc:合同甲方名称
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 合同甲方名称 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 中标通知书份数 {get;set;}

           /// <summary>
           /// Desc:合同份数
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 合同份数 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 竣工验收证明份数 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 审计报告份数 {get;set;}

           /// <summary>
           /// Desc:计划开始工期
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? 工期开始 {get;set;}

           /// <summary>
           /// Desc:计划结束工期
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? 工期结束 {get;set;}

           /// <summary>
           /// Desc:计划工期
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? 合同工期 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? 历经天数 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? 合同到期 {get;set;}

           /// <summary>
           /// Desc:合同计划金额
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? 合同金额 {get;set;}

           /// <summary>
           /// Desc:审定价
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? 审定金额 {get;set;}

           /// <summary>
           /// Desc:履约保证金
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? 履约保证金 {get;set;}

           /// <summary>
           /// Desc:验收日期
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? 验收日期 {get;set;}

           /// <summary>
           /// Desc:开票收入
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? 审计日期 {get;set;}

           /// <summary>
           /// Desc:已收
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? 开票含税收入 {get;set;}

           /// <summary>
           /// Desc:未开票
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? 未开票含税收入 {get;set;}

           /// <summary>
           /// Desc:开票进度%
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? 开票进度 {get;set;}

           /// <summary>
           /// Desc:未收
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? 已收款 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? 未收款 {get;set;}

           /// <summary>
           /// Desc:收款进度%
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? 收款进度 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? 完工进度 {get;set;}

           /// <summary>
           /// Desc:乙方项目经理
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 乙方项目经理 {get;set;}

           /// <summary>
           /// Desc:合同状态
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 合同状态 {get;set;}

           /// <summary>
           /// Desc:合同摘要
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 合同摘要 {get;set;}

           /// <summary>
           /// Desc:合同乙方编号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 合同乙方编号 {get;set;}

           /// <summary>
           /// Desc:合同乙方名称
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 合同乙方名称 {get;set;}

           /// <summary>
           /// Desc:合同名称
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 合同名称 {get;set;}

           /// <summary>
           /// Desc:合同建立人
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 签订人 {get;set;}

           /// <summary>
           /// Desc:中标日期
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? 中标日期 {get;set;}

           /// <summary>
           /// Desc:合同种类
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 合同种类 {get;set;}

           /// <summary>
           /// Desc:甲方项目经理
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 甲方项目经理 {get;set;}

           /// <summary>
           /// Desc:项目分类
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 项目类型 {get;set;}

           /// <summary>
           /// Desc:付款方式
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 付款方式 {get;set;}

           /// <summary>
           /// Desc:合同备注
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 合同备注 {get;set;}

           /// <summary>
           /// Desc:验收标准
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 验收标准 {get;set;}

           /// <summary>
           /// Desc:产值累计
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? 产值累计 {get;set;}

           /// <summary>
           /// Desc:创建时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? CreateDate {get;set;}

           /// <summary>
           /// Desc:创建用户ID
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? CreateID {get;set;}

           /// <summary>
           /// Desc:创建人
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Creator {get;set;}

           /// <summary>
           /// Desc:修改时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? ModifyDate {get;set;}

           /// <summary>
           /// Desc:修改人ID
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? ModifyID {get;set;}

           /// <summary>
           /// Desc:修改人
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Modifier {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public bool? 已失效 {get;set;}

    }
}
